package com.ltlixer.bootadmin.usys;

import com.alibaba.dubbo.config.spring.context.annotation.EnableDubbo;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.cache.annotation.EnableCaching;

@MapperScan("com.ltlixer.bootadmin.**.mapper*")
@SpringBootApplication
@EnableCaching
@EnableDubbo
public class UsysApplication extends SpringBootServletInitializer  {
	
    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
        return application.sources(UsysApplication.class);
    }
    
    public static void main(String[] args) {
    	
        SpringApplication.run(UsysApplication.class, args);
    }



}	